#include <bits/stdc++.h>
int arr[1005] = {0};
int main()
{
	int n, m, num;
	scanf("%d%d", &m, &n);
	for (int i = 0; i < m + n; ++i)
	{
		printf("Wang!");
	}
	return 0;
}